package com.zidian.study.bean;

import com.zidian.study.globa.BaseEntity;

import java.util.List;

/**
 * Created by Administrator on 2016/9/4 0004.
 * 问题星期模型
 */
public class QuestionOneBean extends BaseEntity {


    /**
     * questionnaireExplain : 其他
     * questionnaireTitle : 测试问卷3
     * question : [{"questionNumber":1,"questionId":28,"questionTypes":"选择题","questioncontent":"第一题","options":[{"option":"1","optionsDescribe":"选项1"},{"option":"2","optionsDescribe":"选项2"},{"option":"3","optionsDescribe":"选项3"}]},{"questionNumber":2,"questionId":29,"questionTypes":"打分题","questioncontent":"第二题","options":[{"option":"1","optionsDescribe":"属性1"},{"option":"2","optionsDescribe":"属性2"}]}]
     * releaseTime : 2016/09/14 09:55:47
     * publisher : 羽凌夜1
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String questionnaireExplain;
        private String questionnaireTitle;
        private String releaseTime;
        private String publisher;
        /**
         * questionNumber : 1
         * questionId : 28
         * questionTypes : 选择题
         * questioncontent : 第一题
         * options : [{"option":"1","optionsDescribe":"选项1"},{"option":"2","optionsDescribe":"选项2"},{"option":"3","optionsDescribe":"选项3"}]
         */

        private List<QuestionBean> question;

        public String getQuestionnaireExplain() {
            return questionnaireExplain;
        }

        public void setQuestionnaireExplain(String questionnaireExplain) {
            this.questionnaireExplain = questionnaireExplain;
        }

        public String getQuestionnaireTitle() {
            return questionnaireTitle;
        }

        public void setQuestionnaireTitle(String questionnaireTitle) {
            this.questionnaireTitle = questionnaireTitle;
        }

        public String getReleaseTime() {
            return releaseTime;
        }

        public void setReleaseTime(String releaseTime) {
            this.releaseTime = releaseTime;
        }

        public String getPublisher() {
            return publisher;
        }

        public void setPublisher(String publisher) {
            this.publisher = publisher;
        }

        public List<QuestionBean> getQuestion() {
            return question;
        }

        public void setQuestion(List<QuestionBean> question) {
            this.question = question;
        }

        public static class QuestionBean {
            private int questionNumber;
            private int questionId;
            private String questionTypes;
            private String questioncontent;
            /**
             * option : 1
             * optionsDescribe : 选项1
             */

            private List<OptionsBean> options;

            public int getQuestionNumber() {
                return questionNumber;
            }

            public void setQuestionNumber(int questionNumber) {
                this.questionNumber = questionNumber;
            }

            public int getQuestionId() {
                return questionId;
            }

            public void setQuestionId(int questionId) {
                this.questionId = questionId;
            }

            public String getQuestionTypes() {
                return questionTypes;
            }

            public void setQuestionTypes(String questionTypes) {
                this.questionTypes = questionTypes;
            }

            public String getQuestioncontent() {
                return questioncontent;
            }

            public void setQuestioncontent(String questioncontent) {
                this.questioncontent = questioncontent;
            }

            public List<OptionsBean> getOptions() {
                return options;
            }

            public void setOptions(List<OptionsBean> options) {
                this.options = options;
            }

            public static class OptionsBean {
                private String option;
                private String optionsDescribe;

                public String getOption() {
                    return option;
                }

                public void setOption(String option) {
                    this.option = option;
                }

                public String getOptionsDescribe() {
                    return optionsDescribe;
                }

                public void setOptionsDescribe(String optionsDescribe) {
                    this.optionsDescribe = optionsDescribe;
                }
            }
        }
    }
}
